//	@file Version: 1.0
//	@file Name: ADP_F_Exec.sqf
//	@file Author: THumbert
//	@file Created: 12/14/2013
//	@file Description: Executes the edit line on Main Page of ADP

private ["_result","_combined"];
_text = ctrlText 1400;
_LastExec = format ["%1",_text];
_result = call compile _text;
if (isNil "_result") then 
{
	player setVariable ["MEdit",[_LastExec, "<NULL>"], false];
	ctrlSetText [1405, "<NULL>"];
} else
{
	_combined = format["%1",_result];	
	ctrlSetText [1405, _combined];
	player setVariable ["MEdit",[_LastExec, _Combined], false];
};